<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>支付方式</title>
<%@ include file="/page/include.jsp"%>
</head>
<link rel="stylesheet" type="text/css"
	href="${rootPath}/statics/plugins/zTree/css/zTreeStyle/zTreeStyle.css" />
<style type="text/css">
.error {
	color: red;
	padding-left: 10px;
}
</style>
<body class="nav-md" style="background-color: #f7f7f7">
	<div class="container body">
		<div class="main_container">
			<div class="framebody" style="min-height: 100%;" role="main">
				<div class="">
					<div class="page-title">
						<div class="title_left">
							<h3>支付方式${opFlag == 'add' ? '添加' : '编辑'}</h3>
						</div>
					</div>
					<div class="clearfix"></div>
					<div class="row">
						<div class="col-md-12 col-sm-12 col-xs-12">
							<div class="x_panel">
								<div class="x_content">
									<form class="form-horizontal form-label-left" novalidate id="sysPayConfigForm" name="sysPayConfigForm" method="post" action="${pageContext.request.contextPath}/sysPayConfig/saveOrUpdateSysPayConfig">
										<input type="hidden" id="id" name="id" value="${sysPayConfig.id }">
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">支付名称: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="payName" name="payName" value="${sysPayConfig.payName }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">
											支付类型: <span class="required"><font color="red">*</font></span>
											</label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="payTypeHid" type="hidden" value="${sysPayConfig.payType }" />
												<select class="selectpicker form-control col-md-12" id="payType" name="payType">
													<option value="">全部</option>
												</select>
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">合作者身份: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="partnerId" name="partnerId" value="${sysPayConfig.partnerId }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">公钥: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="publicKey" name="publicKey" value="${sysPayConfig.publicKey }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">私钥: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="privateKey" name="privateKey" value="${sysPayConfig.privateKey }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">同步回调地址: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="returnUrl" name="returnUrl" value="${sysPayConfig.returnUrl }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">异步回调地址: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="notifyUrl" name="notifyUrl" value="${sysPayConfig.notifyUrl }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">授权域名: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="domain" name="domain" value="${sysPayConfig.domain }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">银行名称: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="bankName" name="bankName" value="${sysPayConfig.bankName }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">账户名称: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="accountName" name="accountName" value="${sysPayConfig.accountName }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12">开户地区:
											</label>
											<div class="col-md-8 col-sm-8 col-xs-12">
												<select id="province" name="province" init-value="${sysPayConfig.province }" value="${sysPayConfig.province }" class="selectpicker" title="省" data-live-search="true">
												</select>
												<select id="city" name="city" init-value="${sysPayConfig.city }" value="${sysPayConfig.city }" class="selectpicker" title="市" data-live-search="true">
												</select>
												<select id="area" name="area" init-value="${sysPayConfig.area }" value="${sysPayConfig.area }" class="selectpicker" title="区" data-live-search="true">
												</select>
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">银行账号: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="bankAccount" name="bankAccount" value="${sysPayConfig.bankAccount }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="item form-group">
											<label class="control-label col-md-1 col-sm-1 col-xs-12" for="roleName">所属支行: </label>
											<div class="col-md-3 col-sm-3 col-xs-12">
												<input id="bankChild" name="bankChild" value="${sysPayConfig.bankChild }" class="form-control col-md-3 col-xs-12" type="text">
											</div>
										</div>
										<div class="ln_solid"></div>
										<div class="form-group">
											<div class="col-md-6 col-md-offset-3">
												<a id="btnSysPayConfigBack" class="btn btn-inverse"><i class="fa fa-reply fa-fw"></i>返回</a>
												<a id="btnSysPayConfigSave" class="btn btn-primary"><i class="fa fa-check fa-fw"></i>确定</a>
											</div>
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src="<%=basePath%>/statics/js/jquery.form.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/jquery.validate.js"></script>
<script type="text/javascript" src="<%=basePath%>/statics/js/jquery.metadata.js"></script>
<script type="text/javascript" src="${rootPath}/js/company/sysPayConfig_form.js"></script>
</html>